/*
 * SINI.c
 *
 * Created: 8/04/2012 11:59:54 PM
 *  Author: Richard
 */ 

#include <avr/interrupt.h>
#include "ADC.h"
#include "DIO.h"
#include "CLOCK.h"
#include "TIMER.h"
#include "SHDL.h"
#include "LED.h"

void SINI_vReset( void )
{
	/* init all system modules, add manually here... */
	CLOCK_vInit();
	DIO_vInit();
	TIMER_vReset();
	ADC_vInit();
	// IIC_vInit();
	// SPI_vInit();
	
	SHDL_vInit();
	LED_vInit();
	
	sei();
}
